package com.panghl.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Author panghl
 * @Date 2021/9/22 15:43
 * @Description 附件信息
 **/
@Data
@TableName("sys_attach")
@Accessors(chain = true)
@ApiModel(value = "附件信息", description = "附件信息")
public class SysAttach {
    private static final long serialVersionUID=1L;

    /**
     *  主键id
     */
    @ApiModelProperty(value = "主键id")
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     *  附件名称
     */
    @ApiModelProperty(value = "附件名称")
    private String fileName;
    /**
     * 附件类型
     */
    @ApiModelProperty(value = "附件类型")
    private String fileType;
    /**
     * 地址
     */
    @ApiModelProperty(value = "地址")
    private String fileUrl;
    /**
     * 附件大小
     */
    @ApiModelProperty(value = "附件大小")
    private Long fileSize;

    /**
     * 文件后缀名
     */
    @ApiModelProperty(value = "文件后缀名")
    private String fileSuffix;
}
